const { Switch } = require("../lib/types")

module.exports = {
    name: "ngx_stream_upstream_module",
    map: {
        server: [String, , "upstream"],
        zone: [String, , "upstream"],
        state: [String, , "upstream"],
        hash: [String, , "upstream"],
        least_conn: [String, , "upstream"],
        least_time: [String, , "upstream"],
        random: [String, , "upstream"],
        resolver: [String, , "upstream"],
        resolver_timeout: [String, "30s", "upstream"],
    }
};